package com.baiyang.server.service.book;


import com.alibaba.fastjson.JSONObject;
import com.baiyang.server.model.PageEntity;
import com.baiyang.server.model.book.Purchase;
import com.baiyang.server.service.BaseService;

public interface PurchaseService extends BaseService<Purchase> {

    void insertPurchase(Purchase purchase);

    PageEntity<Purchase> getPagePurchase(JSONObject object);
}
